﻿namespace Model
{
    public class Plc : ModelBase
    {
        private int _ID;
        private string _NO = "";
        private string _Name = "";
        private string _IP;
        private int _Port;
        private string _Note = "";

        public int ID { get => _ID; set => Set(ref _ID, value); }
        /// <summary>
        /// 编号
        /// </summary>
        public string No { get => _NO; set => Set(ref _NO, value); }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get => _Name; set => Set(ref _Name, value); }

        /// <summary>
        /// IP地址
        /// </summary>
        public string IP { get => _IP; set => Set(ref _IP, value); }

        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get => _Port; set => Set(ref _Port, value); }

        /// <summary>
        /// 备注
        /// </summary>
        public string Note { get => _Note; set => Set(ref _Note, value); }

    }
}
